import service from "../utils/request";

// 添加订单
export function addOrder(data:any){
    return service.post('/order/addOrder', data)
}

// 获取订单信息
export function confirmOrder(params:any){
    return service.get('/order/confirmOrder', {params})
}

// 支付时删除购物车选中的数据
export function deleteCartItem(params:any){
    return service.get('/order/deleteCartItem', {params})
}